package com.planet.goods.service;

import com.github.pagehelper.PageInfo;
import com.planet.goods.pojo.Goods;
import com.planet.goods.pojo.Spu;

public interface SpuService {

    void saveGoods(Goods goods);

    Goods findGoodsById(Long id);

    void audit(Long spuId);

    void pull(Long spuId);

    void put(Long spuId);

    void logicDelete(Long spuId);

    PageInfo<Spu> findPage(Spu spu,int page,int size);

}
